package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;


/**
 * <p>
 *
 * </p>
 *
 * @author wxj
 * @since 2023-11-7
 */
@Data
@EqualsAndHashCode(callSuper = false)
@EntityScan
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    //姓名
    private String name;
    //性别
    private String sex;
    //用户名
    private String userName;
    //密码
    private String password;
    //电话号
    private String tel;
    //出生日期
    private LocalDate birth;
    //昵称
    private String nickname;
    //头像
    private String avatar;

}
